package com.yic.module.device.controller.admin.maintenanceDeviceEntry.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 设备与保养项关联 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class MaintenanceDeviceEntryBaseVO {

    @Schema(description = "设备ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "19545")
    @NotNull(message = "设备ID不能为空")
    private Long deviceId;

    @Schema(description = "保养项ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15802")
    @NotNull(message = "保养项ID不能为空")
    private Long entryId;

}
